Skip to content

test: remove the temporary directories tests create - #751

Merged
ian-pascoe merged 1 commit into
mainfrom
fix/test-tmp-cleanup-rest
Nov 11, 2026
Merged

ian-pascoe merged 1 commit into
mainfrom
fix/test-tmp-cleanup-rest

Conversation

@ian-pascoe

Copy link
Copy Markdown
Owner

Summary

  • infra/src/github-app.test.ts: sourced now pushes its dev-env-* dir to roots, removed in a module-level afterEach (the apps/sandbox-image/src/runs.test.ts pattern; the dir lives for one test, and execFileSync has exited before removal).
  • Audited the rest (apps/server, apps/web, computer-env, effect-durable, pi-cloudpid incl. stub.fixture.ts and the changes/comparison global setups): they already remove their dirs, so they are unchanged.

Evidence

  • Before: 3 leftover dirs in an isolated TMPDIR after vitest run src/github-app.test.ts on main (other audited packages: 0)
    After: 0

Merge Danger

Door: two-way
Blast Radius: tests-only

@ian-pascoe
ian-pascoe merged commit 40d202d into main Nov 11, 2026
16 checks passed
@ian-pascoe
ian-pascoe deleted the fix/test-tmp-cleanup-rest branch November 11, 2026 20:02
@github-actions

Copy link
Copy Markdown

Preview deployed

URL: https://cloudpid-server-pr-751.ian-g-pascoe.workers.dev

Built from e2ef8a6 (stage pr-751, behind Access). It is destroyed when the
pull request is closed.


This comment updates on each push.

This branch was successfully deployed

1 active deployment
preview — 48f0d56c Deployed Nov 11, 2026 by ian-pascoe via Preview #1379
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant